<style>
	.login-menu
	{
		font-family:"Lucida Grande","Arial";
		
	}
	.login-menu > a
	{
		
		font-weight:bold !important;
	}
</style>
<div class="navbar-fixed-top navbar navbar-inverse">
	<div class="navbar-inner">
		<ul class="nav">
			<li><a href="<?php echo base_url(); ?>">Home</a></li>
			<li><a href="<?php echo base_url(); ?>contact">Contact</a></li>
			<li><a href="<?php echo base_url(); ?>homepage/mechanics">Mechanics</a></li>
		</ul>
		<ul class="nav pull-right">
		<?php if($logged_in): ?>		
			<li class="dropdown login-menu">
				<a href="#" class="dropdown-toggle" style="font-size:1em;font-weight:normal;" data-toggle="dropdown"><i class="icon-user menu-icon icon-white"></i> <?php echo $this->session->userdata('strName'); ?> <b class="caret"></b></a>
				<ul class="dropdown-menu">
					<li><a href="<?php echo base_url().'profile/view_profile/'.$this->session->userdata('intID'); ?>">View Profile</a></li>			
					<li><a href="<?php echo base_url(); ?>users/edit_profile">Edit Profile</a></li>			
					<li class="divider"></li>
					<li><a href="<?php  echo base_url(); ?>users/logout">Logout</a></li>						
				</ul>
			</li>
			<?php if(!empty($notifications)):?>
				<li class="dropdown login-menu">
				<a href="#" class="dropdown-toggle" style="font-size:1em;font-weight:normal;" data-toggle="dropdown"><i class="icon-exclamation-sign icon-white"></i></a>
				<ul class="dropdown-menu" id="dropdown-notif">
					<?php foreach($notifications as $item):?>
						<li><?php echo $item;?></li>
						<li class="divider"></li>
					<?php endforeach;?>
				</ul>
			</li>
			<?php endif;?>
			
		<?php else: ?>	
			<li class="dropdown login-menu">
				<a href="#" class="dropdown-toggle" style="font-size:1em;font-weight:normal;" data-toggle="dropdown"><i class="icon-user menu-icon icon-white"></i> <b class="caret"></b></a>
				<ul class="dropdown-menu">	
					<li><a class="fancybox" href="<?php echo base_url() ?>users/login">Login</a></li>	
					<li><a href="<?php echo base_url(); ?>users/signup" id="register-btn" class="">Register</a>	</li>
				</ul>
			</li>
		<?php endif; ?>
		</ul>
	</div>
</div>